package com.che.software.testato.domain.entity;

import java.io.Serializable;

/**
 * Class representing a random index for the consistency index calculation.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since August, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class RandomIndex implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = 2421344529685774648L;

	/**
	 * Members.
	 */
	private Double value;
	private Integer number, randomIndexId;

	/**
	 * Getter for the private field value value.
	 * 
	 * @return the value field value.
	 */
	public Double getValue() {
		return value;
	}

	/**
	 * Setting a value to the value field.
	 * 
	 * @param value the value to set.
	 */
	public void setValue(Double value) {
		this.value = value;
	}

	/**
	 * Getter for the private field value number.
	 * 
	 * @return the number field value.
	 */
	public Integer getNumber() {
		return number;
	}

	/**
	 * Setting a value to the number field.
	 * 
	 * @param number the value to set.
	 */
	public void setNumber(Integer number) {
		this.number = number;
	}

	/**
	 * Getter for the private field value randomIndexId.
	 * 
	 * @return the randomIndexId field value.
	 */
	public Integer getRandomIndexId() {
		return randomIndexId;
	}

	/**
	 * Setting a value to the randomIndexId field.
	 * 
	 * @param randomIndexId the value to set.
	 */
	public void setRandomIndexId(Integer randomIndexId) {
		this.randomIndexId = randomIndexId;
	}
}